Skip to content

Instantly share code, notes, and snippets.

@karpathy
karpathy / microgpt.py
Last active February 12, 2026 05:14
microgpt
"""
The most atomic way to train and inference a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
export const gpt_functions_param_jobs_fetching = [
{
name: "process_job_data",
description: "Process job data and extract core fields for a scraper.",
parameters: {
type: "object",
additionalProperties: false,
properties: {
// Company
company_name: {
@digitalknk
digitalknk / config-example-guide.md
Last active February 12, 2026 05:13
OpenClaw Config Example (Sanitized)

🚨 This config has moved 🚨

The OpenClaw guide and config is now maintained as a proper repository with better structure and actionable examples.

New location: https://github.com/digitalknk/openclaw-runbook

⚠️ The gist version will no longer be updated. The repo includes:

  • Streamlined narrative guide
  • Copy-paste example templates
  • VPS setup instructions